package User;

import Book.Bookshelf;
import Operation.IOOperation;

public abstract class User {
    protected String name;
    protected IOOperation[] operations;

    public User(String name) {
        this.name = name;
    }
    public abstract int menu();
    public void doOperation(int option,Bookshelf bookshelf) {
        operations[option].work(bookshelf);
    }


}
